package cn.jiyun.feign;

import cn.jiyun.dao.game.GameDTO;
import cn.jiyun.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Author 王晨
 * Date 2023/8/23
 */
@FeignClient(value = "day10game")
public interface GameFeign {
    @RequestMapping("/game/GameCount")
    public R GameCount(GameDTO gameDTO);

    @RequestMapping("/game/findCount")
    R findCount( @SpringQueryMap GameDTO gameDTO);

    @RequestMapping("/game/findColor")
    R findColor(@RequestParam("gid") Integer gid);

    @RequestMapping("/game/findGameLogin")
    R findGameLogin(@SpringQueryMap GameDTO gameDTO);
}
